package hu.java2.dao;

import hu.java2.model.Category;
import hu.java2.model.Goal;
import hu.java2.model.User;

public interface GoalDAO {
	
	void addGoal(Goal goal);
	void delGoal(int id);
	
	public Iterable<Goal> listGoals(User user);
	public Iterable<Goal> listGoals();
	public Iterable<Goal> listGoals(Category category);
	
	public void addUser(User user);
	public User getUser(String name);
	public void delUser(int id);
	public Iterable<User> listUsers();
	void getUsers();
}
